package com.gmu.service;

import com.gmu.domain.ResResult;
import com.gmu.domain.vo.PageVo;
import com.gmu.domain.vo.TblSampleVo;
import com.gmu.pojo.TblSample;
import com.baomidou.mybatisplus.extension.service.IService;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <p>
 * 采样记录表 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
public interface TblSampleService extends IService<TblSample> {

    ResResult<?> commitSampleRecord(String unitsId, String userId, String idNumber, String activitiesId);

    ResResult<?> commitTestTime(String idNumber, String activitiesId);

    ResResult<?> getUserSampleByUserId(Integer userId);

    PageVo<?> getSampleRecordList(Integer pageNum, Integer pageSize, TblSampleVo tblSample, String beginTime, String endTime);

    ResResult<?> deleteSampleRecord(Integer[] sampleRecordIds);

    List<TblSampleVo> getSampleVoList( TblSampleVo tblSample, String beginTime, String endTime);

    ResResult<?> getStudentByActivitiesId(Integer activitiesId);

    ResResult<?> getTeacherByActivitiesId(Integer activitiesId);

    ResResult<?> getSampleRecordByArea(Integer activitiesId, Integer unitsId, Integer status);
}
